body{
    background-color: #000;
}
h1,p{margin: 0px;
    padding: 0px;
}

/*页面宽度定义，居中*/
.wrapper{
    width: 1006px;
    background-color: #fff211;
   margin: 0 auto; /*针对父容居中*/
}
.clear{
    clear: both;
}
.header{
 width: 991px;
    background-color:#cc9999;
    margin: 0 auto;
    min-height: 200px;
}
.main{
    width: 991px;
    background-color: #fff;
    margin: 0 auto;
}
.footer{
    width: 991px;
    background-color: green;
    margin: 0 auto;
    min-height: 80px;

}
.main .sidebar{
    float: left;
    width: 244px;
    margin-right: 5px;
    background-color: blueviolet;
    min-height: 600px;
}
.main.content{
    float: left;
    width: 742px;
    background-color: lime;
    min-height: 600px;
}